class MyClass:
    def __init__(self, value):
        self.value = value

    def instance_method(self):
        print(f"Instance method called. Value: {self.value}")


# Usage
obj = MyClass(10)
obj.instance_method()  # Instance method called. Value: 10